package com.lingshi.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingshi.common.entity.Goods;
import com.lingshi.common.entity.GoodsDesc;

import java.util.List;

public interface IGoodsService {

    void add(Goods goods);

    void update(Goods goods);

    void putAway(Long gid,Boolean isMarketable);

    Goods findById(Long id);

    Page<Goods> search(Goods goods,int page,int size);


    List<GoodsDesc> findAll();


    GoodsDesc findGoodsDescById(Long id);

}
